package nl.twleaks.alice.task;

import java.io.Serializable;

import nl.twleaks.alice.entities.User;

import com.google.appengine.api.urlfetch.HTTPRequest;
import com.google.appengine.api.urlfetch.HTTPResponse;

@SuppressWarnings("serial")
public class RequestTask extends BasicTask implements Serializable {
	protected HTTPRequest request;
	protected HTTPResponse response;
		
	public RequestTask(User user) {
		super(user);
	}

	public final HTTPRequest getRequest() {
		return request;
	}
	
	public final void setRequest(HTTPRequest request) {
		this.request = request;
	}
	
	public final HTTPResponse getResponse() {
		return response;
	}
	
	public final void setResponse(HTTPResponse response) {
		this.response = response;
	}
}
